package cn.org.eshow.service;


import cn.org.eshow.bean.query.FinanceQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Finance;

import javax.jws.WebService;
import java.util.List;

/**
 *
 */
@WebService
public interface FinanceManager extends GenericManager<Finance, Integer> {

    public Page<Finance> search(FinanceQuery query);

    public List<Finance> list(FinanceQuery query);

    public long count(FinanceQuery query);

    Finance balance(Double price);

    Finance frozen(Double price);

    Finance check(FinanceQuery query);


    /**
     * 营业额增加
     * @param price
     * @return
     */
    Finance increase( Double price);




}
